-- GENERATED SPELL FOR [Raging Shardling] --


function spell0_19419(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_19419', 618, 1)
end

function Sorts_19419(pUnit, Event)
local choix_sorts_19419 = math.random(0, 0)
if choix_sorts_19419 == 0 then
pUnit:RegisterEvent('spell0_19419', 1, 1)
end
end

function mob19419_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19419', math.random(1500, 3000), 1)
end

function mob19419_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19419_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19419_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19419, 1, 'mob19419_Action')
RegisterUnitEvent(19419, 2, 'mob19419_Leave')
RegisterUnitEvent(19419, 3, 'mob19419_Kill')
RegisterUnitEvent(19419, 4, 'mob19419_Die')
